NAnt
Help
Task Reference
<tlbexp> |
v0.85 |
[This is preliminary documentation and subject to change.]
Exports a .NET assembly to a type library that can be used from unmanaged code (wraps Microsoft's tlbexp.exe).
See the Microsoft.NET Framework SDK documentation for details.
| Attribute | Type | Description | Required |
|---|---|---|---|
| assembly | file | Specifies the assembly for which to export a type library. | True |
| output | file | Specifies the name of the type library file to generate. | True |
| names | file | Specifies the file used to determine capitalization of names in a type library. | False |
| failonerror | bool | Determines if task failure stops the build, or is just reported. The default is true. | False |
| if | bool | If true then the task will be executed; otherwise, skipped. The default is true. | False |
| timeout | int | The maximum amount of time the application is allowed to execute, expressed in milliseconds. Defaults to no time-out. | False |
| unless | bool | Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false. |
False |
| verbose | bool | Determines whether the task should report detailed build log messages. The default is false. | False |
| Attribute | Type | Description | Required |
|---|---|---|---|
| exename | string | The name of the executable that should be used to launch the external program. | False |
| useruntimeengine | bool | Specifies whether the external program should be executed using a runtime engine, if configured. The default is false. | False |
Contains a collection of <arg> elements.
Export DotNetAssembly.dll to LegacyCOM.dll.
<tlbexp assembly="DotNetAssembly.dll" output="LegacyCOM.dll" />